package com.fdc_project.entity;

import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Sk
 * @since 2021-11-29
 */
  @Data
  @EqualsAndHashCode(callSuper = false)
    public class Customer implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "cus_id",type = IdType.AUTO)
    private Integer cusId;

    private String cusName;

    private String cusPhone;

    private String cusQq;

    private String cusEmail;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime cusInsertTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime cusUpdateTime;

    @TableField(fill = FieldFill.INSERT)
    private int deleted;


}
